extends Node2D

@onready var title = $Label

func _ready() -> void:
	Global.game_over.connect(game_over)

func game_over(is_victory) -> void:
	title.text = "GAME OVER"
	title.visible = true
